#!/usr/bin/env python2.5
#coding: utf8

#Author: Gang Li
#Date: 2010-04-10 18:20

from core.task import Task
from core.utils import *

from core.submiter import Submiter

task = Task("testtask/task", 1, dir="/task1")
task.id = hash(task)

s = Submiter("127.0.0.1", 6666)
s.run_task(task)
#s.close()